Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report Connection Level Fracturing Statistics to I/O Layer #5811

Draft
wants to merge 15 commits into
base: master
Choose a base branch
from

Conversation

bska
Copy link
Member

@bska bska commented Dec 18, 2024

Populates the new data::Connection::fract data member from PR OPM/opm-common#4388.

To this end, introduce two helper classes to compute statistics of a running sample:

  • RunningStatistics calculates basic statics measures of a running sample
  • ConnFracStatistics aggregates those measures for connection level fracture pressure, fracture width, and flow rate

@bska
Copy link
Member Author

bska commented Dec 18, 2024

I am creating this PR in draft mode for two reasons

  1. It depends on, and contains, the earlier PR Add Infrastructure for Geomechanical Analysis #5801
  2. It needs the new data structure introduced in Add Connection Fracturing Statistics Summary Vectors opm-common#4388. The two PRs must therefore be reviewed and merged in concert.

hnil and others added 15 commits December 20, 2024 15:47
- added numOverlap to flowgeneric
Not all 'problem's have a geomechanical model, so limit block level
stress collection to those that do.  While here, also install more
headers to enable downstream/out-of-tree users of the main simulator
classes.  Finally, reduce scope of some objects and be (more)
'const' correct.
In particular, split this function into distinct steps:

  1. Computing the linearised IJK index of each connection.
  2. Reporting multiplicative factors such as the CTF, the D factor,
     and the transmissibility multiplier due to rock compaction.
  3. Reporting pressures, flow rates, and productivity indices.
  4. Reporting filter cake values for injectors

While here, also reverse a condition in init() to enable "early
continue" and reduce levels of nesting and to reduce scope of some
objects.
In particular,

  * RunningStatistics calculates basic statics measures of a running
    sample
  * ConnFracStatistics aggregates those measures for connection
    level fracture pressure, fracture width, and flow rate
Populates the new data::Connection::fract data member.
@bska bska force-pushed the report-conn-level-fracture-statistics branch from 7764476 to e03ad2d Compare December 20, 2024 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants